package com.server;

import com.pojo.Kh;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface GetKhServer {
    List<Kh> getKh(@Param("khbm")String khbm, @Param("khmc")String khmc, @Param("limit")int limit, @Param("page")int page);
    List<Kh> selectIsContainKh (@Param("id")int id,@Param("khbm") int khbm);
    int addKh(@Param("id") int id, @Param("khbm") String khbm,@Param("khmc") String khmc);
    List<Kh> selectKh ();

}
